﻿using BOBOScript.Script;
using System.Data;
using System.Linq.Expressions;

namespace BOBOScript_Console
{
    internal class Program
    {

        static void Main(string[] args)
        {
            //Compiler.CompileFromFile("Test.txt");
            var a = Function.获取函数信息("function public static    asdadw    awda   min(ssddad adawd)");
            Console.WriteLine(a.Item1.函数名);
            Console.WriteLine(a.Item1.权限);
            Console.WriteLine(a.Item1.静态函数);
            Console.WriteLine(a.Item1.函数返回类型);
            foreach (var item in a.Item1.修饰符)
            {
                Console.WriteLine(item);
            }
            //var ai= function.Getfunction("function int main(){",out a);
            //Console.WriteLine(ai.returnType+" "+ai.name);
        }
    }
}
